import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim_items
from util import *

class Buckler(sim_items.Armor):
    def __init__(self):
        bonuses = {
                'evMod': 2,
                'pvMod': 0,
        }

        # TODO: depth, materials, etc.
        sim_items.Armor.__init__(self, 
                'buckler',    # name
                parole.map.AsciiTile('0', colors['SaddleBrown']), # appearance
                2,          # weight (lbs)
                ['shield'],   # slot(s)
                2000,       # energy to wear
                bonuses,
                unidDescription="A buckler is a very small shield strapped to "
                "the wrist, more useful for protecting the sword hand than "
                "actually warding blows. While lacking in size, many agile "
                "fighters find its portability offsets this drawback."
                )

#========================================
thingClass = Buckler
